package ioc2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component("car1")
//@Scope("prototype")
@Data
public class Car {
    private String name;
    private float price;


}
